package com.bbcare.followup.plat.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import javax.persistence.Entity;
import javax.persistence.Id;
import java.io.Serializable;
import java.util.Date;

/**
 * 备乳记录
 * @TableName fu_milk_preparation_record
 */
@Entity
public class FuMilkPreparationRecord implements Serializable {

    private static final long serialVersionUID = 1L;
    /**
     * 主键
     */
    @Id
    private String id;

    /**
     * 患者ID
     */
    private String userId;

    /**
     * 患者名称
     */
    private String userName;

    /**
     * 性别（M：男  ，F：女）
     */
    private String gender;

    /**
     * 出生日期
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date birthday;

    /**
     * 预约电话
     */
    private String phone;

    /**
     * 备乳量
     */
    private Integer milkQuantity;

    private String milkMsg;

    /**
     * 备乳量记录时间
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date recordTime;

    /**
     * 医院名称
     */
    private String hospitalName;

    /**
     * 病区
     */
    private String hospitalWard;

    /**
     * 住院号
     */
    private String inPatientNo;

    /**
     * 床号
     */
    private String hospitalBedNo;

    /**
     * 房间号
     */
    private String hospitalRoomNo;

    /**
     * 租户ID
     */
    private String tenantId;

    /**
     * 账户ID
     */
    private String accountId;

    /**
     * 备乳状态（1：待发送， 2：已发送  3：已过期）
     */
    private Integer status;

    /**
     * 发送时间
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date sendTime;

    /**
     * 创建人ID
     */
    private String createrId;

    /**
     * 创建人
     */
    private String creater;

    /**
     * 创建时间
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;

    /**
     * 更新时间
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;

    /**
     * 备注
     */
    private String remark;

    /**
     * 备乳设置次数。
     */
    private Integer milkPrepareCount;

    public Integer getMilkPrepareCount()    {return this.milkPrepareCount;}
    public void setMilkPrepareCount(final Integer count)    {this.milkPrepareCount=count;}

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getMilkQuantity() {
        return milkQuantity;
    }
    public void setMilkQuantity(Integer milkQuantity) {
        this.milkQuantity = milkQuantity;
    }

    public Date getRecordTime() {
        return recordTime;
    }

    public void setRecordTime(Date recordTime) {
        this.recordTime = recordTime;
    }

    public String getHospitalName() {
        return hospitalName;
    }

    public void setHospitalName(String hospitalName) {
        this.hospitalName = hospitalName;
    }

    public String getInPatientNo() {
        return inPatientNo;
    }

    public void setInPatientNo(String inPatientNo) {
        this.inPatientNo = inPatientNo;
    }

    public String getHospitalBedNo() {
        return hospitalBedNo;
    }

    public void setHospitalBedNo(String hospitalBedNo) {
        this.hospitalBedNo = hospitalBedNo;
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    public String getAccountId() {
        return accountId;
    }

    public void setAccountId(String accountId) {
        this.accountId = accountId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getSendTime() {
        return sendTime;
    }

    public void setSendTime(Date sendTime) {
        this.sendTime = sendTime;
    }

    public String getCreaterId() {
        return createrId;
    }

    public void setCreaterId(String createrId) {
        this.createrId = createrId;
    }

    public String getCreater() {
        return creater;
    }

    public void setCreater(String creater) {
        this.creater = creater;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getHospitalWard() {
        return hospitalWard;
    }

    public void setHospitalWard(String hospitalWard) {
        this.hospitalWard = hospitalWard;
    }

    public String getHospitalRoomNo() {
        return hospitalRoomNo;
    }

    public void setHospitalRoomNo(String hospitalRoomNo) {
        this.hospitalRoomNo = hospitalRoomNo;
    }

    public String getMilkMsg()  {return this.milkMsg;}
    public void setMilkMsg(final String msg)    {this.milkMsg=msg;}
}